import instance from '@/request/request'

//获取验证码请求
export const GetCaptchaApi=()=>{
  return instance({
    url:"/api/user/captchaImage",
    method: 'get'
  })
}
//用户登录api
export const UserLoginApi=(data)=> {
  return instance({
    url: "/api/user/login",
    method: 'post',
    data
  })
}
  export const GetMenuApi=()=>{
      return instance({
        url:"/api/expert/menu",
        method: 'get'
      })
  }
export const testApi=()=>{
  return instance({
    url:"/api/expert/test",
    method: 'get'
  })
}
